<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MainTemplate.master" Inherits="System.Web.Mvc.ViewPage<DotNetBurner.StoryListByUserData>" %>
<%@ Import Namespace="DotNetBurner" %>
<%@ Import Namespace="System.Web.Mvc.Html" %>
<%@ Import Namespace="Resources" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <% var model = ViewData.Model; %>
    <div class="tab">
        <h1><%=Strings.PostedBy%>: <%=model.PostedBy.HtmlEncode()%></h1>
        <%int sdays = model.SortDays;%>
        <span class="sort-links">
            <%=Html.SortFilters("PostedBy", model.PostedBy.ConvertToUrlPath(), sdays)%>
        </span>
        <span class="sort-feed">
            <%=Html.SyndicationLinks("PostedByFeed", sdays)%>
        </span>
    </div>
    <% if ((model.Stories != null) && (model.Stories.TotalCount > 0)) %>
    <%{%>
        <%=Html.StoryList(ViewData.Model)%>
    <%}%>
    <%else%>
    <%{%>
        <span class="page-message"><%=Strings.NoStoryByUser%></span>
    <%}%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SideContentPlaceHolder" runat="server">
</asp:Content>